<!-- {if $widget_data.ad_image_url} -->
<div class="global-image-ads" style="{if $widget_data.ad_border}border:{$widget_data.ad_border}px solid #ddd;{/if}{if $widget_data.ad_margin}margin:{$widget_data.ad_margin};{/if}{if $widget_data.ad_background_color}background-color:{$widget_data.ad_background_color};{/if}">

<div class="global-image-ads-content" style="{if $widget_data.ad_width}width:{$widget_data.ad_width}px;{/if}">
<a href="{$widget_data.ad_link_url}" target="_blank"><img {if $widget_data.ad_width} width="{$widget_data.ad_width}px"{/if} {if $widget_data.ad_height} height="{$widget_data.ad_height}px"{/if} class="lazyload" initial-url="{$widget_data.ad_image_url|url_format}" src="{res file='images/empty.gif'}" /></a>
</div>

<!-- {if $widget_data.ad_button_close}-->
<div class="J_GlobalImageAdsBotton global-image-ads-botton">x</div>
<!-- {/if}-->

</div>
<!-- {else} -->
<div style="padding:10px; text-align:center;">请配置</div>
<!-- {/if} -->